.loves-result,
.couple-result {
  font-family: SourceHanSerifCN-Regular;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;
  background-size: 100% 100%;
  background-image: url("./../img/lovesbg.jpg");
  display: flex;
  justify-content: space-between;
  padding: 1.6rem 3rem;
  color: #a50319;

  .btm {
    position: absolute;
    width: 7.91rem;
    height: 1.5rem;
    bottom: .5rem;
    left: 50%;
    margin-left: -3.9505rem;
    background-size: 100% 100%;
    background-image: url("./../img/lovesbtm.png");

    a {
      position: absolute;
      transform: scale(.4);
      font-size: .5rem;
      width: 10rem;
      bottom: -.2rem;
      color: #000;

      &.a1 {
        left: -3rem;
      }

      &.a2 {
        right: -5.6rem;
      }
    }

    img {
      position: absolute;

      &.qr2 {
        width: .6rem;
        height: .6rem;
        right: .45rem;
        top: .3rem;
      }

      &.qr1 {
        width: .6rem;
        height: .6rem;
        left: 0.4rem;
        top: .3rem;
      }

      &.logo {
        width: 1.84rem;
        height: .74rem;
        left: 2.15rem;
        top: .22rem;
      }

      &.mzlogo {
        width: .97rem;
        height: 1.13rem;
        left: 4.77rem;
        top: 0;
      }
    }
  }

  .download {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 1.19rem;
    text-align: center;
    background-size: 100% 100%;
    line-height: 1.1rem;
    color: #fff;
    background-image: url("./../img/btnbg.png");
  }

  .left-result,
  .right-result {
    width: 42%;
    height: 100%;
    position: relative;

    .des-box {
      position: absolute;
      top: 2.3rem;
      right: 0;
      // bottom: 3rem;
      bottom: 2rem;
      left: 0;
      overflow: auto;

      .f-info {
        margin-bottom: .3rem;

        &:last-child {
          margin-bottom: 0;
        }

        .content {
          font-size: 12px;
          line-height: 1.2;
          margin-top: .2rem;
          padding-left: .9rem;
          color: #000;

          p {
            margin: 0;
            text-indent: 2em;
            color: #000;
          }
        }

        .tit {
          font-size: .8rem;
          font-weight: bold;
          color: #a50319;
          display: flex;
          align-items: center;
          width: 100%;

          i {
            width: .8rem;
            height: .8rem;
            background-size: 100% 100%;
            background-image: url("./../img/icon1.png");
            margin-right: .1rem;
          }
        }
      }
    }

    .name {
      font-size: .7rem;
      font-weight: bolder;
      line-height: 1.5rem;
      position: absolute;
      top: 1rem;
      right: 0;
    }

    .f-name {
      // position: absolute;
      position: relative;
      width: 1.5rem;
      height: 1.5rem;
      text-align: center;
      line-height: 1.7rem;
      background-size: 100% 100%;
      background-image: url("./../img/wordbg2.png");
      font-size: 1rem;
      font-weight: bolder;
      top: .4rem;
      left: 0;
    }
  }

  .right-result {
    .name {
      right: inherit;
      left: 0;
    }

    .f-name {
      right: 0;
      left: inherit;
      float: right;
    }
  }

  @media screen and (orientation: landscape) {
    height: 120vh;

    .btm {
      transform: scale(.4);
      bottom: -.4rem;
    }

    .download {
      position: fixed;
      right: .2rem;
      bottom: .2rem;
      width: 1.2rem;
      height: .5rem;
      line-height: .5rem;
    }

    .left-result,
    .right-result {
      .des-box {
        position: absolute;
        top: 1.3rem;
        right: 0;
        bottom: 1rem;
        left: 0;
        overflow: auto;

        .f-info {
          margin-bottom: .1rem;

          &:last-child {
            margin-bottom: 0;
          }

          .content {
            font-size: 12px;
            line-height: 1.2;
            margin-top: .2rem;
            padding-left: .9rem;
            color: #000;

            p {
              margin: 0;
              text-indent: 2em;
            }
          }

          .tit {
            font-size: .4rem;
            color: #a50319;
            display: flex;
            align-items: center;
            width: 100%;

            i {
              width: .8rem;
              height: .8rem;
              background-size: 100% 100%;
              background-image: url("./../img/icon1.png");
              margin-right: .1rem;
            }
          }
        }
      }

      .name {
        font-size: .3rem;
        line-height: 1;
        position: absolute;
        top: .2rem;
        right: 0;
      }

      .f-name {
        position: absolute;
        width: 1rem;
        height: 1rem;
        text-align: center;
        line-height: 1rem;
        font-size: .8rem;
        top: .2rem;
        left: 0;
      }
    }

    .right-result {
      .name {
        right: inherit;
        left: 0;
      }

      .f-name {
        right: 0;
        left: inherit;
      }
    }
  }
}

.couple-result {
  background-image: url("./../img/cpbg.jpg");
  color: #fff;
  // padding: 0 .6rem;
  padding: 1.6rem 1.6rem;

  .heart-box {
    position: relative;
    // position: absolute;
    // width: 6.4rem;
    // height: 8.0rem;
    // height: 5.88rem;
    // top: 0;
    // left: 50%;
    // margin-left: -3.2rem;
    // background-size: 100% 100%;
    // background-image: url("./../img/cp_02.png");
    color: #7f4f21;
    font-size: 12px;
    line-height: 1;
    top: -40px;

    img {
      width: 10rem;
    }

    .date {

      // position: absolute;
      // width: 1.7rem;
      // height: .8rem;
      // bottom: .4rem;
      // left: 2.2rem;
      // font-size: .4rem;
      // transform: rotate(90deg);
      p {
        // position: absolute;
        // transform: scale(.5) translate(-50%,-50%);
        // top: 0;
        // left: 0;
        // width: 200%;
        // height: 50%;
        // display: block;
        // font-size: 0.1rem;
        word-break: break-all;
        color: #7f4f21;

        &:last-child {
          top: 40%;
        }
      }
    }

    .name1 {
      position: absolute;
      width: .88rem;
      height: 1.7rem;
      // top: 1.5rem;
      top: 2.8rem;
      // left: 1.26rem;
      left: 2.3rem;
      text-align: center;
      font-size: .5rem;
    }

    .name2 {
      position: absolute;
      width: .88rem;
      height: 1.7rem;
      // top: 1.5rem;
      top: 2.8rem;
      // right: 1.26rem;
      right: 2.3rem;
      text-align: center;
      font-size: .5rem;
    }
  }

  .right-result {
    .des-box {
      .f-info {
        .tit {
          justify-content: flex-end;

          i {
            margin-left: .2rem;
            margin-right: 0;
          }
        }
      }
    }
  }

  .left-result,
  .right-result {
    width: 37%;
    height: 100%;
    position: relative;

    .des-box {
      .f-info {
        margin-bottom: .3rem;

        &:last-child {
          margin-bottom: 0;
        }

        .content {
          color: #fff;
        }

        .tit {
          font-size: .8rem;
          color: #fab45a;
        }
      }
    }

    .f-name {
      background-image: url("./../img/wordbg3.png");
      color: #fab45a;
    }
  }

  .btm {
    width: 6.79rem;
    margin-left: -3.395rem;
    background-image: url("./../img/lovesbtm2.png");

    a {
      color: #f2b059;
      bottom: -.23rem;

      &.a1 {
        left: -3.12rem;
      }

      &.a2 {
        right: -5.73rem;
      }
    }

    img {
      &.logo {
        width: 1.62rem;
        height: .65rem;
        left: 1.83rem;
        top: .4rem;
      }

      &.mzlogo {
        width: .85rem;
        height: .99rem;
        left: 4rem;
        top: .22rem;
      }

      &.qr2 {
        transform: rotate(45deg) scale(.8);
        right: .23rem;
        top: .43rem;
      }

      &.qr1 {
        transform: rotate(45deg) scale(.8);
        left: 0.28rem;
        top: .43rem;
      }
    }
  }
}

.page-main {
  width: 100%;
  height: 100vh;
  position: relative;
  font-family: SourceHanSerifCN-Regular;

  canvas {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  @media screen and (orientation: landscape) {
    height: 170vh;
  }

  &.tips-main {
    background-size: cover;
    background-image: url("./../img/tipsbg.jpg");

    .top {
      width: 100%;
      height: auto;
      margin: 0 auto;

      img {
        display: block;
        width: 100%;
        height: auto;
      }
    }

    .logo {
      position: absolute;
      width: 9.32rem;
      height: 2.47rem;
      background-size: 100% 100%;
      background-image: url("./../img/logo.png");
      bottom: 2rem;
      left: 50%;
      margin-left: -4.66rem;
    }

    .main-box {
      position: absolute;
      top: 5.37rem;
      bottom: 0;
      width: 100%;
      left: 0;
      padding: 1.9rem 2.6rem;

      .tit {
        font-size: .9rem;
        color: #a50319;
        text-align: center;
        line-height: 1.2;
      }

      .content {
        margin-top: 1rem;
        font-size: .45rem;
        line-height: 1.3;
      }

      .agree {
        display: block;
        width: 5.41rem;
        height: 1.19rem;
        text-align: center;
        margin: 1.6rem auto;
        background-size: 100% 100%;
        line-height: 1.19rem;
        color: #fff;
        background-image: url("./../img/btnbg.png");
      }
    }

    @media screen and (orientation: landscape) {

      .logo {
        position: absolute;
        width: 1.89rem;
        height: .5rem;
        bottom: .2rem;
        margin-left: -.945rem;
      }

      .main-box {
        position: absolute;
        top: 3rem;
        padding: .3rem 1rem;

        .tit {
          font-size: .34rem;
          color: #a50319;
          text-align: center;
          line-height: 1.2;
        }

        .content {
          margin-top: .2rem;
          font-size: .2rem;
          line-height: 1.3;
        }

        .agree {
          display: block;
          width: 2.7rem;
          height: .6rem;
          text-align: center;
          margin: .3rem auto;
          margin-bottom: 0;
          font-size: .2rem;
          background-size: 100% 100%;
          line-height: .6rem;
          color: #fff;
          background-image: url("./../img/btnbg.png");
        }
      }
    }
  }

  &.single-result {
    background-size: cover;
    background-image: url("./../img/singleresultbg.jpg");

    a.download {
      position: absolute;
      right: 1rem;
      bottom: 3rem;
      width: 3rem;
      height: 1.19rem;
      text-align: center;
      background-size: 100% 100%;
      line-height: 1.1rem;
      color: #fff;
      background-image: url("./../img/btnbg.png");
    }

    .name {
      font-size: .8rem;
      line-height: 1;
      position: absolute;
      top: 1rem;
      right: 1.5rem;
    }

    .f-name {
      position: absolute;
      width: 3.1rem;
      height: 3.1rem;
      text-align: center;
      line-height: 3.1rem;
      background-size: 100% 100%;
      background-image: url("./../img/wordbg.png");
      font-size: 2.2rem;
      top: 2rem;
      left: 1.8rem;
    }

    .btm {
      position: absolute;
      width: 8.5rem;
      height: 2.34rem;
      bottom: .5rem;
      left: 50%;
      margin-left: -4.25rem;

      // text-align: center;
      a {
        position: absolute;
        bottom: 0;
        transform: scale(.5);
        font-size: .6rem;
        width: 10rem;
        left: -.2rem;
        text-align: center;
        color: #000;
      }

      img {
        position: absolute;
        width: 1.58rem;
        height: 1.58rem;
        bottom: .75rem;
        left: 4rem;

        // margin: 5px 10px;
        &.logo {
          width: 2.97rem;
          height: 1.17rem;
          bottom: .83rem;
          left: 0;
        }

        &.mzlogo {
          width: 1.55rem;
          height: 1.83rem;
          bottom: .5rem;
          left: initial;
          right: 0;
        }
      }
    }

    .des-box {
      position: absolute;
      top: 5.5rem;
      left: 3rem;
      right: 1rem;
      bottom: 3.5rem;
      overflow-y: auto;

      .f-info {
        margin-bottom: .8rem;

        &:last-child {
          margin-bottom: 0;
        }

        .content {
          font-size: 12px;
          line-height: 1.3;
          margin-top: .3rem;
          padding-left: 1.4rem;

          p {
            margin: 0;
            text-indent: 2em;
          }
        }

        .tit {
          font-size: .9rem;
          color: #a50319;
          display: flex;
          align-items: center;
          width: 100%;

          i {
            width: 1.2rem;
            height: 1.2rem;
            background-size: 100% 100%;
            background-image: url("./../img/icon1.png");
            margin-right: .2rem;
          }
        }
      }
    }

    @media screen and (orientation: landscape) {
      height: 120vh;

      a.download {
        position: fixed;
        right: .2rem;
        bottom: .3rem;
        width: 1.5rem;
        height: .5rem;
        line-height: .5rem;
      }

      .name {
        font-size: .5rem;
        line-height: 1;
        position: absolute;
        top: .2rem;
        right: .5rem;
      }

      .f-name {
        display: flex;
        align-items: center;
        width: 1.4rem;
        justify-content: center;
        height: 1.4rem;
        text-align: center;
        line-height: 1.4rem;
        font-size: 1.2rem;
        top: .7rem;
        left: .9rem;
      }

      .btm {
        transform: scale(.5);
      }

      .des-box {
        position: absolute;
        top: 2.3rem;
        left: 1rem;
        right: 1rem;
        bottom: 1.5rem;
        overflow-y: auto;

        .f-info {
          margin-bottom: .3rem;

          &:last-child {
            margin-bottom: 0;
          }

          .content {
            font-size: 12px;
            line-height: 1.3;
            margin-top: .3rem;
            padding-left: .7rem;

            p {
              margin: 0;
              text-indent: 2em;
            }
          }

          .tit {
            font-size: .4rem;
            color: #a50319;
            display: flex;
            align-items: center;
            width: 100%;

            i {
              width: .6rem;
              height: .6rem;
              margin-right: .1rem;
            }
          }
        }
      }
    }
  }

  &.single,
  &.loves,
  &.couple,
  &.letter {
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-image: url("./../img/tipsbg.jpg");

    .btm {
      position: absolute;
      width: 100%;
      height: 3.47rem;
      left: 0;
      bottom: 2rem;

      .tit {
        text-align: center;
        line-height: 1;
        margin-top: .6rem;
        color: #a50319;
        font-size: .65rem;
      }

      .logo {
        width: 9.32rem;
        height: 2.47rem;
        background-size: 100% 100%;
        background-image: url("./../img/logo.png");
        margin: 0 auto;
      }
    }

    .single-main,
    .loves-main {
      position: absolute;
      width: 100%;
      left: 0;
      top: 50%;
      // height: 15.5rem;
      margin-top: -11rem;

      .text {
        font-size: .57rem;
        text-align: center;
        line-height: 1;
        margin: .4rem 0 .6rem 0;
      }

      a.search {
        margin: 0 auto;
        display: block;
        width: 5.41rem;
        height: 1.19rem;
        text-align: center;
        background-size: 100% 100%;
        line-height: 1.1rem;
        color: #fff;
        background-image: url("./../img/btnbg.png");
        position: relative;
        z-index: 666;
      }

      .form-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 3.2rem 0;
        flex-direction: column;
        width: 9.72rem;
        height: 11.7rem;
        margin: 0 auto;
        margin-bottom: 1rem;
        background-size: 100% 100%;
        background-image: url("./../img/homebd.png");

        .ipt {
          display: flex;
          flex-direction: column;
          align-items: center;

          span {
            line-height: 1.5;
          }

          input {
            width: 4rem;
            height: 1.2rem;
            background: #fff;
            border: thin solid #7b7d86;
            line-height: 1.15rem;
            font-size: 12px;
            text-align: center;
          }
        }
      }
    }

    @media screen and (orientation: landscape) {
      .btm {
        position: absolute;
        width: 100%;
        height: 1.7rem;
        left: 0;
        bottom: .1rem;

        .tit {
          text-align: center;
          line-height: 1;
          margin-top: .2rem;
          color: #a50319;
          font-size: .35rem;
        }

        .logo {
          width: 3.77rem;
          height: 1rem;
          background-size: 100% 100%;
          background-image: url("./../img/logo.png");
          margin: 0 auto;
        }
      }

      .single-main,
      .loves-main {
        position: absolute;
        width: 100%;
        left: 0;
        top: 5%;
        height: 90%;
        margin-top: 0;

        .text {
          font-size: .2rem;
          text-align: center;
          line-height: 1;
          margin: .1rem 0 .2rem 0;
        }

        a.search {
          margin: 0 auto;
          display: block;
          width: 3rem;
          height: .4rem;
          text-align: center;
          background-size: 100% 100%;
          line-height: .4rem;
          color: #fff;
          background-image: url("./../img/btnbg.png");
          position: relative;
          z-index: 666;
        }

        .form-box {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: .8rem 0;
          flex-direction: column;
          width: 4.45rem;
          height: 3.4rem;
          margin: 0 auto;
          margin-bottom: .2rem;
          background-size: 100% 100%;
          background-image: url("./../img/homebd.png");

          .ipt {
            display: flex;
            flex-direction: row;
            align-items: center;

            span {
              line-height: 1.5;
              width: .6rem;
              flex-shrink: 0;
            }

            input {
              width: auto;
              flex-grow: 1;
              height: .5rem;
              background: #fff;
              border: thin solid #7b7d86;
              line-height: .5rem;
              font-size: 12px;
              text-align: center;
            }
          }
        }
      }
    }
  }

  &.loves {
    .loves-main {
      // height: 16.5rem;
      margin-top: -13rem;

      .form-box {
        height: 16.45rem;
        background-size: 100% 100%;
        background-image: url("./../img/homebd.png");
        padding: 2.2rem 0;

        .line {
          height: 1px;
          width: 80%;
          margin: .3rem 0;
          background: #a50319;
        }
      }
    }

    @media screen and (orientation: landscape) {
      .loves-main {
        height: 90%;
        margin-top: 0;

        .form-box {
          height: 4rem;
          background-size: 100% 100%;
          background-image: url("./../img/homebd.png");
          padding: .4rem 0;

          .line {
            height: 1px;
            width: 80%;
            margin: .1rem 0;
            background: #a50319;
          }

          .ipt {
            span {
              line-height: 1.5;
              width: 1rem;
              flex-shrink: 0;
            }

            input {
              max-width: 2rem;
            }
          }
        }
      }
    }
  }

  &.couple {
    .loves-main {
      // height: 16.5rem;
      margin-top: -13rem;

      .form-box {
        height: 16.45rem;
        background-size: 100% 100%;
        background-image: url("./../img/homebd.png");
        padding: 1rem 0;

        .line {
          height: 1px;
          width: 80%;
          margin: .3rem 0;
          background: #a50319;
        }
      }
    }

    @media screen and (orientation: landscape) {
      .loves-main {
        height: 90%;
        margin-top: 0;

        .form-box {
          height: 5rem;
          width: 6rem;
          background-size: 100% 100%;
          background-image: url("./../img/homebd.png");
          padding: .3rem 0;

          .line {
            height: 1px;
            width: 80%;
            margin: .05rem 0;
            background: #a50319;
          }

          .ipt {
            width: 90%;
            margin: 0 auto;
            justify-content: center;

            span {
              line-height: 1.5;
              width: 1rem;
              flex-shrink: 0;
            }

            input {
              max-width: 3rem;
            }
          }
        }
      }
    }
  }

  &.home {
    background-size: cover;
    background-image: url("./../img/homebg.jpg");

    .home-main {
      position: absolute;
      width: 100%;
      // height: 16.5rem;
      top: 50%;
      margin-top: -9rem;
      left: 0;

      .logo {
        margin: 0 auto;
        width: 9.32rem;
        height: 2.47rem;
        background-size: 100% 100%;
        background-image: url("./../img/logo.png");
      }

      .tit {
        font-size: .85rem;
        color: #a50319;
        line-height: 1;
        margin: 1rem 0;
        text-align: center;
      }

      .tip {
        line-height: 1;
        margin: .4rem 0;
        font-size: 12px;
        text-align: center;
      }

      .entry-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.9rem 0;
        flex-direction: column;
        width: 7.61rem;
        height: 9.68rem;
        margin: 0 auto;
        background-size: 100% 100%;
        background-image: url("./../img/homebd.png");

        a {
          display: block;
          width: 5.41rem;
          height: 1.19rem;
          text-align: center;
          background-size: 100% 100%;
          line-height: 1.1rem;
          color: #fff;
          background-image: url("./../img/btnbg.png");
        }
      }
    }

    @media screen and (orientation: landscape) {
      background-size: 100% 100%;

      .home-main {
        position: absolute;
        width: 100%;
        height: 90%;
        top: 5%;
        margin-top: 0;
        left: 0;

        .logo {
          margin: 0 auto;
          width: 3.77rem;
          height: 1rem;
          background-size: 100% 100%;
          background-image: url("./../img/logo.png");
        }

        .tit {
          font-size: .35rem;
          color: #a50319;
          line-height: 1;
          margin: .3rem 0;
          text-align: center;
        }

        .tip {
          line-height: 1;
          margin: .4rem 0;
          font-size: 12px;
          text-align: center;
        }

        .entry-box {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: .6rem 0;
          width: 5rem;
          height: 4rem;
          margin: 0 auto;
          background-size: 100% 100%;
          background-image: url("./../img/homebd.png");

          a {
            display: block;
            width: 4rem;
            height: .7rem;
            text-align: center;
            background-size: 100% 100%;
            line-height: .7rem;
            color: #fff;
            background-image: url("./../img/btnbg.png");
          }
        }
      }
    }
  }

  /* 红色家书 开始 */
  &.letter {
    position: relative;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    background-image: url("./../img/letterbg.jpg");

    .letter-main {
      position: absolute;
      /* top: 2.29rem;
      left: 2.04rem;
      padding: 1.67rem 2.15rem 0 0.71rem;
      width: 12.71rem;
      height: 17.75rem; */
      top: 8vh;
      left: 13vw;
      padding: 6vh 14vw 2vh 3vw;
      width: 81vw;
      height: 65vh;
      background-size: 100% 100%;
      background-image: url("./../img/case.png");

      .title {
        text-align: center;
        font-size: 2vh;
        font-weight: bold;
        display: none;
      }

      .letter-content {
        font-weight: bolder;
        line-height: 1.7;

        p {
        //   font-size: 1.15vw;
          font-size: 0.38rem;
          color: #000;
          text-indent: 2em;
          text-align: justify;
          font-weight: bolder;
        }

        span {
          display: block;
          text-indent: 2em;
          font-size: 0.38rem;
          color: #000;
          font-weight: bolder;
          line-height: 2;
        }
      }

      .form-box {
        margin-top: 1.44rem;
        margin-bottom: 1rem;

        .ipt {
          display: flex;
          justify-content: center;
          align-items: center;

          span {
            margin-top: 3px;
            margin-right: 5px;
            font-weight: bolder;
            font-size: 0.5rem;
          }

          input {
            width: 4.96rem;
            height: 1.27rem;
            background: #fff;
            border: thin solid #7b7d86;
            line-height: 1.27rem;
            font-size: 0.5rem;
            text-align: center;
            margin-bottom: 0;
          }
        }
      }

      a.search {
        margin: 0 auto;
        display: block;
        width: 5.42rem;
        height: 1.21rem;
        text-align: center;
        background-size: 100% 100%;
        line-height: 1.21rem;
        color: #fff;
        background-image: url("./../img/btnbg.png");
        position: relative;
        z-index: 666;
      }
    }

    .letter-btm {
      position: absolute;
      width: 100%;
      left: 0;
      bottom: 3.5rem;

      .letter-btm-tit {
        text-align: center;
        line-height: 1;
        margin-top: 0.25rem;
        color: #a50319;
        font-size: 0.62rem;
      }

      .letter-btm-logo {
        width: 7.25rem;
        height: 1.92rem;
        background-size: 100% 100%;
        background-image: url("./../img/logo.png");
        margin: 0 auto;
      }
    }
  }

  &.letter-result {
    position: relative;
    overflow: hidden;
    background-size: 100% 100%;
    background-image: url("./../img/ldbg.jpg");

    .letter-result-box {
        width: 11.04rem;
        margin: 0 auto;
        padding-top: 2.88rem;
        color: #231815;
        
        .f-name-box {
            position: absolute;
            top: 2.88rem;
            left: 2.29rem;
            right: 2.29rem;
            display: flex;
            justify-content: space-between;
            padding-bottom: 0.63rem;
            border-bottom: 2px solid rgba(0, 0, 0, .3);
            .f-name {
                display: flex;
            }
            .name {
              width: 2.29rem;
              height: 2.29rem;
              line-height: 2.6rem;
              font-size: 1.66rem;
              font-weight: bold;
              background-size: 100% 100%;
              background-image: url("./../img/wordbg.png");
              text-align: center; 
            }
          
            span {
                display: block;
                text-align: right;
            }
            .slogan {
                font-size: 0.5rem;
                font-weight: bold;
            }
            .salute {
                font-size: 0.42rem;
                margin-top: 0.48rem;
            }
        }
        .date {
          font-size: 0.38rem;
        }

        .des-box {
            position: absolute;
            top: 6.46rem;
            left: 2.29rem;
            right: 2.29rem;
            bottom: 8.3rem;
            overflow-y: auto;
            .details {
                margin-top: 0.63rem;
    
              .title {
                  font-size: 0.5rem;
                  font-weight: bold;
                  color: #A50319;
                  display: flex;
                  align-items: center;
                  line-height: 0.68rem;
                  width: 100%;
        
                  i {
                    width: 0.65rem;
                    height: 0.63rem;
                    background-size: 100% 100%;
                    background-image: url("./../img/icon1.png");
                    margin-right: 0.31rem;
                  }
                  span {
                      margin-top: 0.1rem;
                  }
                }
                .content {
                  background: rgba(0, 0, 0, .12);
                  padding: 0.42rem;
                  margin-top: 0.48rem;
    
                  p {
                      text-align: justify;
                      line-height: 1.5;
                      margin-bottom: 2px;
                  }
    
                  span {
                      display: block;
                      font-size: 14px;
                      text-align: right;
                  }
                }
            }
            .life-box {
                margin-top: 1.06rem;
    
                .content {
                    padding: 0.42rem 0;
                    margin-top: 0;
                    background: rgba(0, 0, 0, 0);
                }
            }
    
            .salute-box {
    
                .content {
                  width: 100%;
                }
            }
        }


    }

    .footer {
        position: absolute;
        left: 50%;
        bottom: 3.8rem;
        width: 11.04rem;
        margin-left: -4.8rem;


        .btm {
          display: flex;
          align-items: center;

          .mzlogo {
              margin-right: 3rem;
              width: 1.77rem;
              height: 2.08rem;
          }

          .logo {
              width: 5.23rem;
              height: 0.88rem;
          }

          .qrcode {
            width: 15rem;
            left: -1.3rem;
            bottom: -0.6rem;
          }

          a {
            position: absolute;
            left: 2.2rem;
            bottom: -4px;
            font-size: 8px;
            color: #000;
          }

        }

        .btn-box {
            display: flex;
            position: absolute;
            bottom: 3rem;

            .download {
              width: 4.17rem;
              height: 1rem;
              font-size: 0.54rem;
              text-align: center;
              background-size: 100% 100%;
              line-height: 1rem;
              margin-left: 0.42rem;
              color: #fff;
              background-image: url("./../img/btnbg.png");
            }
        }

    }

  }

  @media screen and (min-width: 1100px) {

    // 查询页开始
    &.single,
    &.loves,
    &.couple {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-size: 100% auto;
        background-repeat: repeat-y;
        background-image: url("./../img/tipsbg_pc.jpg");

        .btm {
            position: absolute;
            width: 100%;
            height: 1.2rem;
            left: 0;
            bottom: 0.2rem;

            .tit {
                text-align: center;
                line-height: 1;
                margin-top: .16rem;
                color: #a50319;
                font-size: 0.2rem;
                font-weight: bold;
            }

            .logo {
                width: 2.2rem;
                height: 0.58rem;
                background-size: 100% 100%;
                background-image: url("./../img/logo.png");
                margin: 0 auto;
            }
        }

        .single-main,
        .loves-main {
            position: absolute;
            width: 100%;
            left: 0;
            top: 0;
            margin-top: 0;

            .text {
                font-size: 0.18rem;
                font-weight: bold;
                text-align: center;
                line-height: 1;
                margin: 0.7rem 0 0.5rem 0;
            }

            a.search {
                margin: 0 auto;
                display: block;
                width: 1.36rem;
                height: 0.3rem;
                text-align: center;
                background-size: 100% 100%;
                line-height: 0.28rem;
                color: #fff;
                background-image: url("./../img/btnbg.png");
                position: relative;
                z-index: 666;
            }

            .form-box {
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                padding: 0;
                flex-direction: column;
                width: 6.45rem;
                height: 3.7rem;
                margin: 0 auto;
                margin-bottom: 0.52rem;
                background-size: 100% 100%;
                background-image: url("./../img/homebd_pc.png");

                .line {
                    height: 1px;
                    width: 2.44rem;
                    margin: 0;
                    background: #a50319;
                  }

                .ipt {
                    display: flex;
                    flex-direction: initial;
                    align-items: center;

                    span {
                        line-height: 1.5;
                        font-size: 0.2rem;
                        font-weight: bold;
                        display: block;
                    }

                    input {
                        width: 1.29rem;
                        max-width: 1.29rem;
                        height: 0.33rem;
                        background: #fff;
                        margin: 0;
                        border: thin solid #7b7d86;
                        line-height: 0.33rem;
                        text-align: center;
                        padding: 0 4px 2px;
                        font-size: 0.14rem;
                    }

                    &.ipt-date {
                        display: contents;

                        span {
                            width: 1.29rem;
                        }
                    }
                }
            }

            &.couple-main {
                .form-box {
                    padding: 0.3rem 0;
                    .ipt {
                        span {
                            font-size: 0.16rem;
                        }

                        input {
                            height: 0.27rem;
                            line-height: 0.27rem;
                            font-size: 0.12rem;
                        }
                    }
                    
                }
            }
        }
    }


    &.letter {
      position: relative;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background-size: 100% 100%;
      background-image: url("./../img/letterbg_pc.jpg");

      .letter-main {
        position: absolute;
        top: 11vh;
        left: 24vw;
        padding: 6vh 5.8vw 2vh 3vw;
        width: 55vw;
        height: 62vh;
        background-size: 100% 100%;
        background-image: url("./../img/case_pc.png");

        .title {
          font-size: 1vw;
        }

        .letter-content {
          margin-top: 2.5vh;
          line-height: 1.8;

          p {
            font-size: 0.8vw;
          }

          span {
            font-size: 0.8vw;
            line-height: 2.2;
          }
        }

        .form-box {
          margin-top: 4.5vh;
          margin-bottom: 3.6vh;

          .ipt {

            span {
              margin-top: 0;
              margin-right: 10px;
              font-size: 1vw;
            }

            input {
              width: 8vw;
              height: 3.6vh;
              line-height: 3.6vh;
              font-size: 14px;
            }
          }
        }

        a.search {
          width: 9vw;
          height: 3.8vh;
          line-height: 3.8vh;
        }
      }

      .letter-btm {
        position: absolute;
        width: 100%;
        height: 15vh;
        left: 0;
        bottom: 9vh;

        .letter-btm-tit {
          text-align: center;
          line-height: 1;
          margin-top: 1vh;
          color: #a50319;
          font-size: 1.1vw;
        }

        .letter-btm-logo {
          width: 2.2rem;
          height: 0.58rem;
          background-size: 100% 100%;
          background-image: url("./../img/logo.png");
          margin: 0 auto;
        }
      }

    }

    &.letter-result {
      position: relative;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background-size: 100% 100%;
      background-image: url("./../img/ldbg_pc.jpg");

      .letter-result-box {
        position: absolute;
        top: 1.85rem;
        left: 3.75rem;
        right: 3.74rem;
        bottom: 2.23rem;
        color: #231815;
        width: auto;
        margin: 0;
        padding-top: 0;
          
          .f-name-box {
              padding-bottom: 0.41rem;
              position: absolute;
              top: 0;
              left: 0;
              right: 3.86rem;
              width: 52.5%;
              border-bottom: 2px solid rgba(0, 0, 0, .3);

              .f-name {
                display: flex;
              }

              .name {
                width: 0.9rem;
                height: 0.9rem;
                line-height: 0.8rem;
                font-size: 0.65rem;
                margin-right: 8px;
                background-size: 100% 100%;
                background-image: url("./../img/wordbg.png");
                text-align: center; 
              }
            
              span {
                  display: block;
                  text-align: right;
              }
              .slogan {
                  font-size: 0.2rem;
              }
              .salute {
                  font-size: 0.16rem;
                  margin-top: 0.16rem;
              }
          }
          .date {
            font-size: 0.15rem;
          }

          .des-box {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: inherit;
              .details {
                  margin-top: 0;
    
                .title {
                    font-size: 0.2rem;
                    font-weight: bold;
                    color: #A50319;
                    display: flex;
                    align-items: center;
                    line-height: 0.24rem;
                    width: 100%;
          
                    i {
                      width: 0.25rem;
                      height: 0.24rem;
                      background-size: 100% 100%;
                      background-image: url("./../img/icon1.png");
                      margin-right: 0.11rem;
                    }
    
                    span {
                        margin-top: 0;
                    }
                  }
                  .content {
                    position: absolute;
                    top: 0.42rem;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    // height: 89%;
                    background: rgba(0, 0, 0, .12);
                    margin-top: 0;
                    padding: 0.16rem;
    
                    p {
                        
                        text-align: justify;
                        line-height: 1.5;
                        font-size: 0.15rem;
                        height: 100%;
                        overflow: auto;
                    }
    
                    span {
                        display: block;
                        font-size: 0.15rem;
                        text-align: right;
                    }
                  }
              }
              .life-box {
                position: absolute;
                top: 1.8rem;
                left: 0;
                right: 3.86rem;
                bottom: 0;
                width: 52.5%;
              }
    
              .salute-box {
                position: absolute;
                top: 0;
                left: 55%;
                right: 0;
                bottom: 0;
                width: 45%;
    
                  .content {
                    width: 100%;
    
                    p {
                        overflow: auto;
                        height: 87%;
                    }
                  }
              }
          }

      }

      .footer {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 11.04rem;
        margin-left: -7.8rem;
          .btm {
            position: absolute;
            display: flex;
            align-items: center;
            bottom: 1.25rem;
            left: 4.66rem;

            .mzlogo {
                margin-right: 1rem;
                width: 0.49rem;
                height: 0.57rem;
            }
            .logo {
                width: 1.44rem;
                height: 0.24rem;
            }

            .qrcode {
                width: 4.2rem;
                left: -0.28rem;
                bottom: -0.1rem;
              }
    
              a {
                position: absolute;
                left: 0.7rem;
                bottom: -2px;
                font-size: 12px;
                color: #000;
              }

          }

          .btn-box {
              display: flex;
              position: absolute;
              bottom: 1.25rem;
              left: 8.34rem;

              .download {
                width: 1.63rem;
                height: 0.37rem;
                text-align: center;
                background-size: 100% 100%;
                line-height: 0.32rem;
                margin-left: 0.16rem;
                color: #fff;
                font-size: 0.16rem;
                background-image: url("./../img/btnbg.png");
              }
          }

      }

    }

    // pc端知晓页开始
    &.tips-main {
        background-size: cover;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-image: url("./../img/tipsbg_pc.jpg");

        .top {
            height: 2.1rem;
            background-image: url("./../img/tips_top_pc.png");

            img{
                display: none;
            }
        }
    
        .top::before {
            content: "上海传承家谱家训服务平台";
            position: absolute;
            top: 1.06rem;
            left: 6.6rem;
            font-size: 0.2rem;
            font-weight: bold;
            color: #A50319;
        }
    
        .logo {
          position: absolute;
          width: 2.6rem;
          height: 0.69rem;
          background-size: 100% 100%;
          background-image: url("./../img/logo.png");
          bottom: 0.5rem;
          left: 7.6rem;
        }
    
        .main-box {
          position: absolute;
          top: 2.63rem;
          bottom: 0;
          left: 5.8rem;
          width: 4.06rem;
          padding: 0;
    
          .tit {
            font-size: 0.2rem;
            color: #A50319;
            text-align: center;
            line-height: 1.2;
          }
    
          .content {
            width: 4.06rem;
            font-size: 0.16rem;
            line-height: 1.8;

            span {
                margin-bottom: 0.1rem;
                display: inline-block;
            }
          }
    
          .agree {
            display: block;
            width: 1.36rem;
            height: 0.3rem;
            text-align: center;
            background-size: 100% 100%;
            line-height: .28rem;
            color: #fff;
            font-size: 0.14rem;
            background-image: url("./../img/btnbg.png");
          }
        }
      }

    // pc端首页开始
    &.home {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-size: cover;
        background-image: url("./../img/homebg_pc.png");
        
        .home-main {
          position: absolute;
          width: 100%;
          top: 1.38rem;
          margin-top: 0;
          left: 0;
    
          .logo {
            margin: 0 auto;
            width: 3.49rem;
            height: 0.93rem;
            background-size: 100% 100%;
            background-image: url("./../img/logo.png");
          }
    
          .tit {
            font-size: 0.28rem;
            color: #a50319;
            line-height: 1;
            margin: 0;
            margin-top: 0.4rem;
            margin-bottom: 0.49rem;
            text-align: center;
          }
    
          .tip {
            line-height: 1;
            margin: .3rem 0;
            font-size: 0.11rem;
            font-weight: bold;
            text-align: center;
          }
    
          .entry-box {
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            padding: 0.55rem 0;
            flex-direction: column;
            width: 2.32rem;
            height: 3.4rem;
            margin: 0 auto;
            background-size: 100% 100%;
            background-image: url("./../img/homebd.png");
    
            a {
              display: block;
              width: 1.63rem;
              height: 0.38rem;
              font-size: 0.16rem;
              text-align: center;
              background-size: 100% 100%;
              line-height: 0.35rem;
              color: #fff;
              background-image: url("./../img/btnbg.png");
            }
          }
        }
    }
  }
  
  /* 红色家书 结束 */
  

  /* 一体机样式开始 */
  @media screen and (min-width: 980px) and (max-width: 1100px) {
    &.letter {
        .letter-main {
            height: 16.75rem;
        }
        .letter-btm {
            bottom: 3.2rem;
        }
        .letter-main {
            .form-box {
                margin-top: 1rem;
                margin-bottom: 0.8rem;
            }
        }
        .letter-main {
            .form-box {
                .ipt {
                    input {
                        height: 1rem;
                        line-height: 1rem;
                    }
                }
            }
        }
    }

    &.single,
    &.loves,
    &.couple,
    &.letter {

        .single-main,
        .loves-main {

            .form-box {

                .ipt {

                    span {
                        font-size: 20px;
                    }

                    input {
                        font-size: 20px;
                    }
                }
            }
        }
    }

    &.tips-main {

        .main-box {
          .agree {
            font-size: 20px;
          }
        }
    }

    &.home {
        
        .home-main {
    
          .entry-box {
    
            a {
              font-size: 20px;
            }
          }

          .tip {
              font-size: 14px;
          }
        }
    }
  }
}